﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Mobile.Master" Inherits="System.Web.Mvc.ViewPage<WebStickyNotes.Models.MobileTasksModel>" %>
<%@ Import Namespace="WebStickyNotes.Resources" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Labels.PleaseSelectATask %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <nav>
		<div class="splitleft">
			<%= Html.ActionLink(Labels.Home, "Index", "Mobile") %>
        </div>
		<div class="splitright">
			<%= Html.ActionLink(Labels.Up, "Streams", "Mobile", new { id = Model.ProjectId }, null)%>
        </div>
    </nav>
    <article>
        <header>
            <h2><%= Labels.PleaseSelectATask %></h2>
        </header>
        <section class="projects">
            <ul>
            <% foreach (var task in Model.Tasks) { %>
               <li><%= Html.ActionLink(task.Title, "Task", new { id = task.Id }) %></li>
            <% } %>
            </ul>
        </section>
    </article>  
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>